package com.chinasofti;

import java.util.Scanner;

public class Demo10 {
    public static void main(String[] args) {
        Scanner sc = new Scanner (System.in);
        System.out.println("请输入手机号");
        String s1 = sc.nextLine();
        String s2 = s1.substring(0,3);
        String s3 = s1.substring(7,11);
        System.out.println(s2+"****"+s3);

    }
}
